package com.noahplat.datapro;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @ClassName: DataProApplication
 * @Description: 可穿戴设备数据提供微服务启动类
 * @Author 李景星
 * @Date 2021/3/4
 * @Version 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.noahplat.datapro.mapper")
@EnableFeignClients("com.noahplat.datapro.feign")   //启动feign扫描
public class DataProApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataProApplication.class, args);
    }
}
